home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 August / August CD.bin / Shareware / Programming / Infinity Windoid WDEF 2.6 / Other Versions / WindoidDefines.h—small grow < prev    next >
Encoding:
Text File  |  1994-04-01  |  2.2 KB  |  94 lines  |  [TEXT/MPS ]

  1. // *****************************************************************************
  2. //
  3. //    WindoidDefines.h
  4. //
  5. // *****************************************************************************
  6. #ifndef __WindoidDefines__
  7. #define __WindoidDefines__
  8.  
  9. // *****************************************************************************
  10. //    Conditional Compilation Options
  11. // -----------------------------------------------------------------------------
  12.  
  13. #define THICK_TITLEBAR
  14. // #define TITLE_STRING
  15.  
  16. #define ALLOW_ZOOM
  17. #define ALLOW_VERT
  18.  
  19. #define ALLOW_GROW
  20. #define SMALL_GROW
  21.  
  22. #define VERS_2_2_COMPATIBLE
  23.  
  24. // *****************************************************************************
  25. //    Combinations
  26. //        These should pretty much remain untouched
  27. // -----------------------------------------------------------------------------
  28.  
  29. #ifdef VERS_2_2_COMPATIBLE
  30.     #ifndef MFI_ZOOM
  31.     #define MFI_ZOOM
  32.     #endif
  33.     
  34.     #ifndef STAYPUT_ZOOM
  35.     #define STAYPUT_ZOOM
  36.     #endif
  37. #endif
  38.  
  39. // -----------------------------------------------------------------------------
  40.  
  41. #ifdef THINK_STYLE
  42.     #ifndef ALLOW_VERT
  43.     #define ALLOW_VERT
  44.     #endif
  45.  
  46.     #ifndef ALWAYS_HILITE
  47.     #define ALWAYS_HILITE
  48.     #endif
  49.  
  50.     #ifdef MACAPP_STYLE
  51.     #undef MACAPP_STYLE
  52.     #endif
  53. #endif
  54.  
  55. // -----------------------------------------------------------------------------
  56.  
  57. #ifdef MACAPP_STYLE
  58.     #ifdef ALLOW_VERT
  59.     #undef ALLOW_VERT
  60.     #endif
  61.  
  62.     #ifdef ALWAYS_HILITE
  63.     #undef ALWAYS_HILITE
  64.     #endif
  65.  
  66.     #ifndef ALLOW_GROW
  67.     #define ALLOW_GROW
  68.     #endif
  69. #endif
  70.  
  71. // -----------------------------------------------------------------------------
  72.  
  73. #ifdef SYS7_OR_LATER
  74.     #ifndef USE_GESTALT
  75.     #define USE_GESTALT
  76.     #endif
  77. #endif
  78.  
  79. // *****************************************************************************
  80. //    System version define for the Apple Interfaces
  81. // -----------------------------------------------------------------------------
  82.  
  83. #ifdef SYS7_OR_LATER
  84.     #define SystemSevenOrLater 1    
  85. #else
  86.     #define SystemSixOrLater 1        
  87. #endif
  88.  
  89.     // This is used so that we can cut down on the code size in MPW. If 
  90.     // support for earlier systems is important, get rid of this. 
  91.     // Note: for this define to work under THINK C, MacHeaders cannot be used.
  92.  
  93. // *****************************************************************************
  94. #endif